# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\WorkPlace\Python\bbs\bbs_crawl\bbs_login_multi.ui'
#
# Created: Mon Jul 12 20:15:23 2010
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_main_widget(object):
    def setupUi(self, main_widget):
        main_widget.setObjectName("main_widget")
        main_widget.resize(450, 366)
        self.tabWidget = QtGui.QTabWidget(main_widget)
        self.tabWidget.setGeometry(QtCore.QRect(20, 10, 411, 341))
        self.tabWidget.setObjectName("tabWidget")
        self.tab_0 = QtGui.QWidget()
        self.tab_0.setObjectName("tab_0")
        self.board_2 = QtGui.QComboBox(self.tab_0)
        self.board_2.setGeometry(QtCore.QRect(130, 70, 121, 21))
        self.board_2.setObjectName("board_2")
        self.label_11 = QtGui.QLabel(self.tab_0)
        self.label_11.setGeometry(QtCore.QRect(50, 70, 51, 21))
        self.label_11.setObjectName("label_11")
        self.textBrowser_3 = QtGui.QTextBrowser(self.tab_0)
        self.textBrowser_3.setGeometry(QtCore.QRect(50, 10, 281, 41))
        self.textBrowser_3.setObjectName("textBrowser_3")
        self.label_12 = QtGui.QLabel(self.tab_0)
        self.label_12.setGeometry(QtCore.QRect(50, 110, 81, 21))
        self.label_12.setObjectName("label_12")
        self.dateFrom = QtGui.QDateEdit(self.tab_0)
        self.dateFrom.setGeometry(QtCore.QRect(130, 110, 110, 22))
        self.dateFrom.setDate(QtCore.QDate(2009, 10, 1))
        self.dateFrom.setObjectName("dateFrom")
        self.label_13 = QtGui.QLabel(self.tab_0)
        self.label_13.setGeometry(QtCore.QRect(50, 150, 71, 16))
        self.label_13.setObjectName("label_13")
        self.search_ID = QtGui.QLineEdit(self.tab_0)
        self.search_ID.setGeometry(QtCore.QRect(130, 150, 113, 20))
        self.search_ID.setObjectName("search_ID")
        self.progressBar = QtGui.QProgressBar(self.tab_0)
        self.progressBar.setGeometry(QtCore.QRect(20, 250, 361, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.sure_cancel_2 = QtGui.QDialogButtonBox(self.tab_0)
        self.sure_cancel_2.setGeometry(QtCore.QRect(100, 200, 156, 23))
        self.sure_cancel_2.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.sure_cancel_2.setObjectName("sure_cancel_2")
        self.label_14 = QtGui.QLabel(self.tab_0)
        self.label_14.setGeometry(QtCore.QRect(250, 110, 21, 21))
        self.label_14.setObjectName("label_14")
        self.dateTo = QtGui.QDateEdit(self.tab_0)
        self.dateTo.setGeometry(QtCore.QRect(270, 110, 110, 22))
        self.dateTo.setDate(QtCore.QDate(2009, 10, 8))
        self.dateTo.setObjectName("dateTo")
        self.tabWidget.addTab(self.tab_0, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setGeometry(QtCore.QRect(240, 30, 41, 20))
        self.label_5.setLineWidth(3)
        self.label_5.setObjectName("label_5")
        self.passwd_2 = QtGui.QLineEdit(self.tab_2)
        self.passwd_2.setGeometry(QtCore.QRect(280, 30, 101, 21))
        self.passwd_2.setObjectName("passwd_2")
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setGeometry(QtCore.QRect(50, 30, 54, 21))
        self.label_6.setObjectName("label_6")
        self.userid_2 = QtGui.QLineEdit(self.tab_2)
        self.userid_2.setGeometry(QtCore.QRect(100, 30, 81, 21))
        self.userid_2.setObjectName("userid_2")
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setGeometry(QtCore.QRect(50, 70, 51, 21))
        self.label_7.setObjectName("label_7")
        self.board = QtGui.QComboBox(self.tab_2)
        self.board.setGeometry(QtCore.QRect(100, 70, 121, 21))
        self.board.setObjectName("board")
        self.label_8 = QtGui.QLabel(self.tab_2)
        self.label_8.setGeometry(QtCore.QRect(50, 120, 54, 13))
        self.label_8.setObjectName("label_8")
        self.label_9 = QtGui.QLabel(self.tab_2)
        self.label_9.setGeometry(QtCore.QRect(50, 160, 54, 13))
        self.label_9.setObjectName("label_9")
        self.title = QtGui.QLineEdit(self.tab_2)
        self.title.setGeometry(QtCore.QRect(100, 120, 281, 20))
        self.title.setObjectName("title")
        self.content = QtGui.QPlainTextEdit(self.tab_2)
        self.content.setGeometry(QtCore.QRect(100, 160, 281, 121))
        self.content.setObjectName("content")
        self.sure_cancel = QtGui.QDialogButtonBox(self.tab_2)
        self.sure_cancel.setGeometry(QtCore.QRect(150, 290, 156, 23))
        self.sure_cancel.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.sure_cancel.setObjectName("sure_cancel")
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_1 = QtGui.QWidget()
        self.tab_1.setObjectName("tab_1")
        self.textBrowser = QtGui.QTextBrowser(self.tab_1)
        self.textBrowser.setGeometry(QtCore.QRect(50, 20, 301, 41))
        self.textBrowser.setObjectName("textBrowser")
        self.passwd = QtGui.QLineEdit(self.tab_1)
        self.passwd.setGeometry(QtCore.QRect(250, 80, 101, 21))
        self.passwd.setObjectName("passwd")
        self.label_2 = QtGui.QLabel(self.tab_1)
        self.label_2.setGeometry(QtCore.QRect(220, 80, 31, 20))
        self.label_2.setLineWidth(3)
        self.label_2.setObjectName("label_2")
        self.label_3 = QtGui.QLabel(self.tab_1)
        self.label_3.setGeometry(QtCore.QRect(50, 110, 54, 41))
        self.label_3.setObjectName("label_3")
        self.button_ok = QtGui.QPushButton(self.tab_1)
        self.button_ok.setGeometry(QtCore.QRect(120, 170, 75, 23))
        self.button_ok.setObjectName("button_ok")
        self.display_area = QtGui.QTextBrowser(self.tab_1)
        self.display_area.setGeometry(QtCore.QRect(50, 220, 301, 71))
        self.display_area.setObjectName("display_area")
        self.userid = QtGui.QLineEdit(self.tab_1)
        self.userid.setGeometry(QtCore.QRect(100, 80, 81, 21))
        self.userid.setObjectName("userid")
        self.total_number = QtGui.QSpinBox(self.tab_1)
        self.total_number.setGeometry(QtCore.QRect(100, 120, 42, 22))
        self.total_number.setMaximum(999)
        self.total_number.setObjectName("total_number")
        self.step_number = QtGui.QSpinBox(self.tab_1)
        self.step_number.setGeometry(QtCore.QRect(270, 120, 42, 22))
        self.step_number.setMaximum(999)
        self.step_number.setObjectName("step_number")
        self.label = QtGui.QLabel(self.tab_1)
        self.label.setGeometry(QtCore.QRect(50, 80, 54, 21))
        self.label.setObjectName("label")
        self.label_4 = QtGui.QLabel(self.tab_1)
        self.label_4.setGeometry(QtCore.QRect(210, 120, 54, 20))
        self.label_4.setObjectName("label_4")
        self.button_stop = QtGui.QPushButton(self.tab_1)
        self.button_stop.setGeometry(QtCore.QRect(220, 170, 75, 23))
        self.button_stop.setObjectName("button_stop")
        self.tabWidget.addTab(self.tab_1, "")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.textBrowser_2 = QtGui.QTextBrowser(self.tab_3)
        self.textBrowser_2.setGeometry(QtCore.QRect(60, 70, 271, 61))
        self.textBrowser_2.setObjectName("textBrowser_2")
        self.link_whubbs = QtGui.QCommandLinkButton(self.tab_3)
        self.link_whubbs.setGeometry(QtCore.QRect(130, 140, 181, 31))
        self.link_whubbs.setObjectName("link_whubbs")
        self.label_10 = QtGui.QLabel(self.tab_3)
        self.label_10.setGeometry(QtCore.QRect(80, 150, 51, 21))
        self.label_10.setTextFormat(QtCore.Qt.RichText)
        self.label_10.setScaledContents(True)
        self.label_10.setObjectName("label_10")
        self.tabWidget.addTab(self.tab_3, "")

        self.retranslateUi(main_widget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.progressBar, QtCore.SIGNAL("valueChanged(int)"), self.progressBar.setValue)
        QtCore.QMetaObject.connectSlotsByName(main_widget)

    def retranslateUi(self, main_widget):
        main_widget.setWindowTitle(QtGui.QApplication.translate("main_widget", "BBS小工具", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("main_widget", "选择版面", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_3.setHtml(QtGui.QApplication.translate("main_widget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'宋体\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">选择按ID或按时间，批量下载BBS上的图片和文章，下载后以版面为目录存放在该程序所在目录。</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("main_widget", "选择时间： 从", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("main_widget", "指定用户ID", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("main_widget", "到", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_0), QtGui.QApplication.translate("main_widget", "批量下载", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("main_widget", "密码", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("main_widget", "用户名", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("main_widget", "选择版面", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("main_widget", "标题", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("main_widget", "内容", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("main_widget", "一键发帖", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser.setHtml(QtGui.QApplication.translate("main_widget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'宋体\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">请慎用本功能，站务可能视你为破坏BBS运行秩序而删除您的账号，由此带来的后果请自负。</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("main_widget", "密码", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("main_widget", "总次数", None, QtGui.QApplication.UnicodeUTF8))
        self.button_ok.setText(QtGui.QApplication.translate("main_widget", "开始", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("main_widget", "用户名", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("main_widget", "间隔时间", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stop.setText(QtGui.QApplication.translate("main_widget", "停止", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), QtGui.QApplication.translate("main_widget", "频繁登陆", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_2.setHtml(QtGui.QApplication.translate("main_widget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'宋体\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600;\">Name: </span><span style=\" font-size:12pt;\">WHU BBS tool</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600;\">Writed by：</span><span style=\" font-size:12pt;\">meixr@126.com</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600;\">Date: </span><span style=\" font-size:12pt;\">2009-10-05</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.link_whubbs.setText(QtGui.QApplication.translate("main_widget", "http://bbs.whu.edu.cn", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("main_widget", "珞珈山水", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("main_widget", "关于", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    main_widget = QtGui.QWidget()
    ui = Ui_main_widget()
    ui.setupUi(main_widget)
    main_widget.show()
    sys.exit(app.exec_())

